import request from '@/utils/request'

export function getTaskList(query) {
  return request({
    url: 'v1/recovery_task',
    method: 'get',
    params: query
  })
}

export function getTask(id) {
  return request({
    url: 'v1/recovery_task/' + id,
    method: 'get'
  })
}
